package com.oa.ylms.apps.dao.news;

import java.util.List;

import com.oa.ylms.apps.entity.news.NewsCategoryValue;

public interface INewsCategoryDao {
	
	public List<NewsCategoryValue> queryCategoryByStates(NewsCategoryValue newsCategory) throws Exception;
	
	public NewsCategoryValue queryCategoryById(NewsCategoryValue newsCategory) throws Exception;
	
	public int addNewsCategory(NewsCategoryValue newsCategory) throws Exception;

	public boolean editNewsCategory(NewsCategoryValue newsCategory);
}

